/*
 * Powered By [rapid-framework]
 * Web Site: http://www.rapid-framework.org.cn
 * Google Code: http://code.google.com/p/rapid-framework/
 * Since 2008 - 2018
 */

package com.hzyb.oldpack.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;
import org.hibernate.validator.constraints.Length;

/**
 * @author badqiu email:badqiu(a)gmail.com
 * @version 1.0
 * @since 1.0
 */


@Entity
@Table(name = "hzyb_config")
public class HzybConfig {


	//可以直接使用: @Length(max=50,message="用户名长度不能大于50")显示错误消息
	//columns START
	@Length(max=50)
	private java.lang.String configSid;
	@Length(max=50)
	private java.lang.String appid;
	@Length(max=50)
	private java.lang.String appsecret;
	//columns END


	public HzybConfig(){
	}

	public HzybConfig(
			java.lang.String configSid
			){
		this.configSid = configSid;
	}



	public void setConfigSid(java.lang.String value) {
		this.configSid = value;
	}

	@Id 
	@Column(name = "config_sid", unique = true, nullable = false, insertable = true, updatable = true, length = 50)
	public java.lang.String getConfigSid() {
		return this.configSid;
	}

	@Column(name = "appid", unique = false, nullable = true, insertable = true, updatable = true, length = 50)
	public java.lang.String getAppid() {
		return this.appid;
	}

	public void setAppid(java.lang.String value) {
		this.appid = value;
	}

	@Column(name = "appsecret", unique = false, nullable = true, insertable = true, updatable = true, length = 50)
	public java.lang.String getAppsecret() {
		return this.appsecret;
	}

	public void setAppsecret(java.lang.String value) {
		this.appsecret = value;
	}

}

